"""
    @File : serializers.py 
    @Create : 2021/11/23 上午11:17 
    @Author : wx
    @Update : 2021/11/23 上午11:17 
    @License : (C)Copyright 2014-2021 SmartAHC All Rights Reserved 
    @Desc    :   Coding Below
    @Software: PyCharm
"""
from rest_framework import serializers
from rest_framework_bulk import BulkSerializerMixin, BulkListSerializer

from redis_app.models import WearTag


class WearTagSerializer(BulkSerializerMixin, serializers.ModelSerializer):
    class Meta:
        model = WearTag
        fields = "__all__"
        list_serializer_class = BulkListSerializer
